export interface Celldata {
  c: number;
  r: number;
  v: {
    m: string;
    /** 自定义扩展数据 */
    v: VProperties;
    ct: {
      fa: string;
      t: string;
    };
  };
}

export interface VProperties {
  /** 自定义挂载参数数据 */
  properties: Record<any, any>;
  type?: string;
  [key: string]: any;
}

export type CellDataMap = Map<any, Celldata[]>;

// 左侧拖拽字段数据类型
export interface DragFieldData {
  /** 拖拽获取组件类型 */
  type: string;
  /** 显示标题 */
  title: string;
  /** 自定义挂载参数数据 */
  properties: Record<any, any>;
  /** 点击字段可编辑数据能力，暂定 */
  editor?: Record<any, any>;
}
